-
Notifications
You must be signed in to change notification settings - Fork 284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Some small comments.
Would move this file to scripts/task_api
together with the basic integration tests if it will stay.
f'Memory: {(mem / 1024 / 1024):.3f} MiB') | ||
except KeyError: | ||
# The last message in the stream usually raises KeyError | ||
print('Wrong stats format') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add if status == running here to, so it can be an "error" while running and a info ( or no message ) when its not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea.
However, I'm not sure if the last message is sent after the container is stopped or just before. Need to check it.
Codecov Report
@@ Coverage Diff @@
## develop #4862 +/- ##
===========================================
+ Coverage 89.2% 90.11% +0.91%
===========================================
Files 231 231
Lines 21263 21250 -13
===========================================
+ Hits 18967 19150 +183
+ Misses 2296 2100 -196 |
Merged in #4901 |
Run e.g.
Should print something like this:
Hit CTRL+C to stop.